
.taskIndex{
    padding: 0 !important;
    display: flex;

    .page-border {
        margin: 30px 30px 20px;
        height: calc(100vh - 109px);
        overflow: auto;
    }

    .class{
        margin-bottom: 24px;
        display: flex;
        justify-content: space-between;
        padding: 0 50px;
        >div{
            span{
                color: #1F2C37;
                font-size: 18px;
                font-weight: bold;
                padding-right: 32px;
            }
            i{
                color: #9CA4AB;
                font-size: 16px;
                font-style: normal;
            }
        }
    }
    
    .kanban{
        margin-top: 32-24px;
        display: grid;
        justify-content: space-between;
        grid-template-columns: repeat(auto-fill, 320px);
        .cell{
            margin-top: 24px;
            width: 320px;
            height: 224px;
            box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.05);
            border-radius: 10px;
            border: 1px solid #EDF2F7;
            padding: 0 14px;
            color: #292C38;
            position: relative;
            .layui-form-checkbox{
                position: absolute;
                right: 16px;
                top: 16px;
            }

            &.disabled{
                color:#999999;
                .table-tag{
                    background-color: #999 !important;
                }

                .info{
                    .table-tag{
                        background-color: transparent !important;
                        color: #999999 !important;
                    }
                }
            }

            .user{
                padding-top: 22px;
                display: flex;
                align-items: center;
                .avatar{
                    width: 40px;
                    height: 40px;
                    border-radius: 100%;
                    margin-right: 16px;
                }
                span{
                    font-size: 18px;
                    font-weight: bold;
                }
            }

            .text{
                font-weight: bold;
                font-size: 18px;
                margin-top: 18px;
                width: 290px;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
            }
            .info{
                margin-top: 20px;
                color: #999;
                font-size: 14px;
                display: flex;
                justify-content: space-between;
            }

            
        }

        
    }

    .page-layout{
        margin-top: 40px;
    }
    

    // 评分
    .back{
        color: #999999;
        font-size: 16px;
        cursor: pointer;
        position: absolute;
        top: 17px;
    }

    .pingfen-tab{
        padding-left: 174px !important;
    }
    .pingfen-class{
        padding-top: 40px;
        margin-bottom: 0;
    }
    
}

.add-dialog{
    width: 1200px;
    .layui-form-label{
        width: 130px;
    }
    .layui-input-block{
        margin-left: 140px;
    }
    .line{
        border-right: 1px solid #EDF2F7;
        padding-right: 40px;
    }

    .upload{
        color: #999999;
        font-size: 16px;
        >div{
            display: flex;
            justify-content: space-between;
        }
    }

    .layui-upload-list{
        .layui-table td{
            border: none;
        }
    }
}



// 任务详情
.task-detail{
    .title-box{
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 85px;
        border-bottom: 1px solid #ECF1F6;
        .text{
            color: #1F2C37;
            font-size: 20px;
            padding-left: 12px;
        }

        .info{
            display: flex;
            >div{
                margin-left: 48px;
                display: flex;
                align-items: start;
                    img{
                        width: 40px;
                        height: 40px;
                        margin-right: 18px;
                    }
                    font-size: 14px;
                    p{
                        color: #999999; 
                    }
                    span{
                        color: #1F2C37;
                        font-weight: bold;

                        &.state{
                            text-align: center;
                            margin-top: 5px;
                            width: 72px;
                            height: 26px;
                            line-height: 26px;
                            border-radius: 50px 50px 50px 50px;
                            color: #fff;
                            display: inline-block;
                            i{
                                width: 6px;
                                height: 6px;
                                background: #FFFFFF;
                                border-radius: 100%;
                                display: inline-block;
                                vertical-align: middle;
                                margin-right: 5px;
                            }

                            &.blue{
                                background: #01A2E4;
                            }
                            &.red{
                                background: #FF7676;
                            }
                        }
                    }
    
            }

            .user{
                img{
                    border-radius: 100%;
                }
            }
        }
    }

    .comp{
        margin-top: 16px;
        display: flex;
        >div{
            border-right: 1px solid #EDF2F7;
            padding: 16px 20px;
            &:last-of-type{
                border: none;
                padding-right: 0;
            }
            &:first-of-type{
                padding-left: 0;
                flex: 1;
            }
        }


        .cell{
            display: flex;
            margin-bottom: 36px;
            &:last-of-type{
                margin-bottom: 0;
            }
            >img{
                width: 40px;
                height: 40px;
                margin-right: 18px;
            }
            font-size: 14px;
            p{color: #999;}
            span{color: #191D31;margin-top: 8px; display: inline-block;}

            .tag-task{
                display: flex;
                flex-wrap: wrap;
                span{
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 80px;
                    height: 28px;
                    line-height: 28px;
                    background: #F1FBF3;
                    border-radius: 5px 5px 5px 5px;
                    border: 1px solid #E0E0E0;
                    margin-right: 7px;
                    margin-top: 12px;
                    img{
                        width: 14px;
                        height: 14px;
                        cursor: pointer;
                    }
                }

                .plus{
                    margin-right: 7px;
                    margin-top: 12px;
                    width: 80px;
                    height: 28px;
                    align-items: center;
                    justify-content: center;
                    display: flex;
                    img{
                        cursor: pointer;
                    }
                }
            }
        }
    }


    &.botton-block{
        display: flex;
        margin-bottom: 20px;
       
        >div{
            &:first-of-type{
                padding: 16px;
                margin-right: 24px;
                overflow-x: auto;
                display: flex;
                .card{
                    flex: none;
                    width: 320px;
                    height: 441px;
                    background: #FFFFFF;
                    box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.05);
                    border-radius: 10px 10px 10px 10px;
                    border: 1px solid #EDF2F7;
                    margin-right: 16px;
                    overflow: hidden;

                    .title{
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        height: 56px;
                        padding: 0 16px;
                        background: #2A2E41;
                        .text{
                            color: #fff;
                        }
                        .tag-task{
                            display: flex;
                            align-items: center;
                            width: 90px;
                            height: 26px;
                            background: #FFFFFF;
                            border-radius: 26px;
                            i{
                                width: 23px;
                                height: 23px;
                                background: #355FE5;
                                border-radius: 100%;
                                text-align: center;
                                line-height: 23px;
                                margin: 0 6px 0 4px;
                                overflow: hidden;
                                font-style: normal;
                                color: #fff;
                            }
                        }
                        .btn{
                            display: flex;
                            align-items: center;
                            width: 90px;
                            height: 26px;
                            background: #FFFFFF;
                            border-radius: 26px;
                            cursor: pointer;
                            img{
                                margin: 0 6px 0 4px;
                                vertical-align: middle;
                            }
                        }
                    }

                    ul{
                        height: 360px;
                        width: 100%;
                        display: inline-block;
                        overflow-y: auto;
                        margin-top: 8px;
                        padding: 0 12px;
                        li{
                            padding: 24px 0 8px;
                            border-bottom: 1px solid #EDF2F7;
                            &:last-of-type{
                                border: none;
                            }
                            .sub-title{
                                font-weight: bold;
                            }
                            .supplement{
                                margin-top: 20px;
                                display: flex;
                                align-items: center;
                                justify-content: space-between;
                                color: #999999;

                                .annex{
                                    span{margin-right: 10px; margin-left: 3px; display: inline-block;}
                                }
                            }

                            .add-member{
                                background: #F6F6F6;
                                border-radius: 16px;
                                border: 2px solid #ECF1F6;
                                font-size: 16px;
                                overflow: hidden;
                                padding: 16px 16px 0;
                                .btn{
                                    color: #01A2E4;
                                    font-size: 14px;
                                    cursor: pointer;
                                    img{
                                        margin-right: 4px;
                                        vertical-align: middle;
                                    }
                                }
                                .layui-textarea{
                                    background: none;
                                    border: none;
                                    height: 70px !important;
                                    min-height: 70px !important;
                                    font-size: 14px;
                                }
                            }

                            .upload{
                                margin-top: 18px;
                                display: flex;
                                justify-content: space-between;
                                .layui-btn{
                                    height: 34px;
                                    line-height: 34px;
                                    border-radius: 5px;
                                }
                            }

                            .describe{
                                color: #999;
                                margin-top: 9px;
                            }
                        }
                    }


                    &.add{
                        cursor: pointer;
                        width: 48px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        flex-direction: column;
                        span{
                            padding-top: 20px;
                            writing-mode:vertical-rl;
                            letter-spacing:10px;
                            font-weight: bold;
                            
                        }
                    }
                    
                }

            }
            &:last-of-type{
                width: 420px;
                flex:none;
                padding: 16px;

                
                .layui-tab-item{
                    
                    height: 400px;
                    overflow-x: auto;
                }

                .btn{
                    width: 360px;
                    margin: 40px auto 20px;
                }
                
                .trends-list{
                    li{
                        border-bottom: 1px solid #EDF2F7;
                        padding: 24px 16px 16px;
                        .title{
                            margin-bottom: 20px;
                            font-weight: 500;
                            color: #999;
                        }
                        .supplement{
                            display: flex;
                            justify-content: space-between;
                            .time{
                                font-size: 14px;
                                color: #999;
                            }
                        }
                    }
                }

                .note-list{
                    li{
                        border-bottom: 1px solid #EDF2F7;
                        padding: 24px 16px 16px;
                        .user{
                            margin-bottom: 20px;
                            display: flex;
                            img{
                                width: 38px;
                                height: 38px;
                                margin-right: 15px;
                            }
                            .title{
                                span{
                                    font-size: 18px;
                                    font-weight: bold;
                                    margin-bottom: 5px;
                                }
                                p{
                                    
                                    color: #999;
                                }
                            }
                        }
                        .supplement{
                            display: flex;
                            justify-content: space-between;
                            .time{
                                font-size: 14px;
                                color: #999;
                            }
                        }
                    }
                }
                .subtask-list{
                    
                    li{
                        border-bottom: 1px solid #EDF2F7;
                    }

                    
                }
            }
        }
    }
}


// 成员弹窗
.member-dialog{
    width: 324px;
    height: 441px;
    .pd{
        padding: 32px 16px 0;

        .layui-input-wrap{
            line-height: 32px;
        }
        .layui-input{
            height: 32px;
            line-height: 32px;
            border-radius: 10px;
            margin-bottom: 18px;
        }
    }

    .tab-body>div{display: none;}

    .tab-header{
        border-radius: 5px;
        overflow: hidden;
        display: flex;
        height:32px;
        line-height: 32px;
        text-align: center;
        width: 264px;
        margin-left: 16px;
        >div{
            width: 50%;
            font-size: 14px;
            cursor: pointer;
            border: 1px solid #EDF2F7;
            &.layui-this{
                background-color: #01A2E4;
                color: #fff;
                border: 1px solid #01A2E4;
            }
        }
    }

    .option{
        margin-top: 29px;
        height: 270px;
        overflow-y: auto;
        &.item2{
            height: 228px;
        }
        >div{
            height: 46px;
            line-height: 46px;
            display: flex;
            align-items: center;
            
        padding-left: 42px;

            &.active{
                background-color: #D0F1FF;
                border: 1px solid #01A2E4;
            }
            &.disabled{
                .name{
                    color: #1F2C37;
                }
                .check{
                    display: none;
                }
            }
            .icon{
                width: 33px;
                height: 33px;
                background: #355FE5;
                border-radius:100%;
                font-size: 10px;
                line-height: 33px;
                text-align: center;
                margin-right: 24px;
                color: #fff;
            }
            .name{
                color:#999;
                font-size:18px;
                width:136px;
            }

        }
    }

    .btn{
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-top: 1px solid #EDF2F7;
        .layui-btn{
            height: 40px;
            line-height: 40px;
            border-radius: 5px;
            width: 97px;
        }
    }
}

.task-row{
    display: flex;
    margin-top: 24px;
    .title{
        border-bottom: 1px solid #EDF2F7;
        display: flex;
        justify-content: space-between;
        padding: 0 24px;
        height: 56px;
        align-items: center;
    }

    >div{
        height: 370px;
        overflow: auto;
        &:nth-child(1){
            width: 40%;
            margin-right: 30px;
            flex: none;
            padding: 0;
        }
        &:nth-child(2){
            width: 40%;
            margin-right: 30px;
            flex: none;
            padding: 0;
        }
    }

    .table-box{
        padding: 0 20px 20px;
        .layui-table td{
            border: none !important;
        }
    }

    .record{
        p{
            margin-bottom: 20px;
            line-height: 32px;
        }
    }
}